package com.yuan.pay_mall.service;

import com.github.pagehelper.PageInfo;
import com.yuan.pay_mall.form.ShippingForm;
import com.yuan.pay_mall.vo.ResponseVo;

import java.util.Map;

public interface IShippingService {
    ResponseVo<Map<String,Integer>> add(Integer uid, ShippingForm form);
    ResponseVo delete(Integer uid,Integer shippingId);
    ResponseVo upadate(Integer uid,Integer shippingId,ShippingForm form);
    ResponseVo<PageInfo> list(Integer uid, Integer pageNumber,Integer pageSize);
}
